
public class Backpack {

	Backpack(String co, double ca, String na, double nu){
		color = co;
		capacity = ca;
		name = na;
		numItems = nu;
	}
	
	String color;// = "Black";
	double capacity;// = 25;
	String name;// = "Robb";
	double numItems;// = 3;
	
	boolean breaks(double insideWeight){
		return insideWeight > capacity;
	}
	
	double aveWeight(double insideWeight){
		return insideWeight/numItems;
	}
	
	public void wear(){
		System.out.println("You can now carry more stuff!");
	}
}
